package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 反馈对象 feedback
 * 
 * @author ruoyi
 * @date 2025-01-09
 */
public class Feedback extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 反馈表编号 */
    private Long id;

    /** 反馈标题 */
    @Excel(name = "反馈标题")
    private String title;

    /** 反馈时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "反馈时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 反馈类型 */
    @Excel(name = "反馈类型")
    private String type;

    /** 反馈内容 */
    @Excel(name = "反馈内容")
    private String content;

    /** 反馈人联系方式 */
    @Excel(name = "反馈人联系方式")
    private String contact;

    /** 反馈状态 */
    @Excel(name = "反馈状态")
    private String status;

    /** 反馈人ID */
    @Excel(name = "反馈人ID")
    private Long userId;

    /** 处理反馈的管理员ID */
    @Excel(name = "处理反馈的管理员ID")
    private Long adminId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setContact(String contact) 
    {
        this.contact = contact;
    }

    public String getContact() 
    {
        return contact;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setAdminId(Long adminId) 
    {
        this.adminId = adminId;
    }

    public Long getAdminId() 
    {
        return adminId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("createdTime", getCreatedTime())
            .append("type", getType())
            .append("content", getContent())
            .append("contact", getContact())
            .append("status", getStatus())
            .append("userId", getUserId())
            .append("adminId", getAdminId())
            .toString();
    }
}
